<?php
//处理用户的退出页面
include_once("init.php");
session_start();
$_SESSION=[];
session_destroy();
if(isset($_SESSION['user'])){
	msg("退出失败","index.php");
}else{
	header("location:index.php");
}
?>